﻿///@author Rafał Hazan
///@email  rafal.hazan@gmail.com
#ifndef __FITNESS_FUNCTION__
#define __FITNESS_FUNCTION__

#include "Genotype.h"
#include "MatrixGraph.h"

/// Interfejs funkcji przystosowania.
class FitnessFunction
{
	public:
		virtual ~FitnessFunction() {}
		virtual double evaluate(const Genotype & genotype, const MatrixGraph & graph) = 0;
		virtual double evaluate(const Genotype & genotype) = 0;
};

#endif